
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_blue_plus/flutter_blue_plus.dart';
import 'package:hari_curly/src/model/device_model.dart';

import '../model/device_info.dart';

class DeviceInfoStatus  extends Cubit<DeviceInfo> {
  DeviceInfoStatus(super.initialState);

  void setWind (String wind)  {
    emit(state.setWind(wind: wind));
  }
  void setTemperature (String temperature)  {
    emit(state.setTemperature(temperature: temperature));
  }
  void setWriteCharacteristic (BluetoothCharacteristic writeCharacteristic)  {
    emit(state.setWriteCharacteristic(writeCharacteristic: writeCharacteristic));
  }

}
